package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("postgraduate_info")
public class PostgraduateInfoDO {

    /**
     * 信息ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "信息ID")
    private Integer infoId;

    /**
     * 用户ID
     */
    @TableField("user_id")
    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    /**
     * 考研经验
     */
    @TableField("experience")
    @ApiModelProperty(value = "考研经验")
    private String experience;

    /**
     * 考研小贴士
     */
    @TableField("tips")
    @ApiModelProperty(value = "考研小贴士")
    private String tips;

    /**
     * 是否分享
     */
    @TableField("share_status")
    @ApiModelProperty(value = "是否分享")
    private Boolean shareStatus;

    /**
     * 创建人
     */
    @TableField("create_by")
    @ApiModelProperty(value = "创建人")
    private Integer createBy;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改人
     */
    @TableField("update_by")
    @ApiModelProperty(value = "修改人")
    private Integer updateBy;

    /**
     * 修改时间
     */
    @TableField("update_time")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}